<ion-header-bar align-title="center" class="bar-calm" id="handerMain">
    <h1 class="title">订单确认</h1>
    <div class="return_img" ng-click="_up_return()">
        <img src="img/return_1.png" alt="">
    </div>
</ion-header-bar>
<ion-content class="has-header has-footer" id="content" style="bottom:44px;">
    <!--//收货地址-->
    <div ng-if="display_pay==1">
        <div class="ok_address" ng-click="">
            <div>
                <img src="img/5-2.png" alt="">
                <img src="myimg/message10.png" alt="">
                <div>
                    <span ng-if="incliceFok==2">去添加收货地址</span>
                    <div ng-if="incliceFok==1">
                        <span>{{b===null?dataBo.getuser:datato.getuser}}</span>
                        <span>{{b===null?dataBo.phone:datato.phone}}</span>
                        <span class="ok_region">{{b===null?dataBo.shen:datato.shen}}{{b===null?dataBo.shi:datato.shi}}{{b===null?dataBo.qu:datato.qu}}{{b===null?dataBo.address:datato.address}}</span>
                    </div>
                </div>
            </div>
            <img src="img/5-1.png" alt="">
            <div class="goReceipt" ng-click="goReceipt()">

            </div>
        </div>
        <!--//优惠券-->
        <div class="ok_Discount" ng-click="ok_Discount()">
            <img src="myimg/message10.png" alt="">
            <span>{{meetnum}}张可用</span>
            <span>优惠券</span>
            <span>( 已抵用{{savenum}}元 )</span>
        </div>

        <div class="Div_container">
            <div>
                <div>
                    <img ng-src="img/log2.png" alt="" class="logs_in">
                    <span class="once_title">友牧农场</span>
                </div>
            </div>
            <!--下面为展示-->
            <!--//商品展示-->
            <div class="Settlement ok_zy_play" ng-if="spseiiw==3">
                <div class="classification">
                    <div class="order_img">
                        <img ng-src="{{inimg}}" alt="">
                    </div>
                    <div class="order_details">
                        <h5>
                            {{name}}
                        </h5>
                        <h5>
                            规格默认规格
                        </h5>
                        <h5>
                            ￥{{price}}
                        </h5>
                        <span>X{{order_num}}</span>
                    </div>
                </div>
            </div>
            <!--//购物车传过来展示-->
            <div class="Settlement ok_zy_play" ng-if="spseiiw==2">
                <div class="classification" ng-repeat="wbSaleProductList in wbSaleProductList track by $index">
                    <div class="order_img">
                        <img ng-src="{{wbSaleProductList.photo_url}}" alt="">
                    </div>
                    <div class="order_details">
                        <h5>
                            {{wbSaleProductList.name}}
                        </h5>
                        <h5>
                            规格默认规格
                        </h5>
                        <h5>
                            ￥{{wbSaleProductList.price}}
                        </h5>
                        <span>X{{wbSaleProductList.shopingCartNum}}</span>
                    </div>
                </div>
            </div>
        </div>

        <!--结算-->
        <div class="ok_Settlement">
            <ul>
                <li>
                    <span>商品总额</span>
                    <span ng-if="spseiiw==3">￥{{conumber}}</span>
                    <span ng-if="spseiiw==2">￥{{total_price}}</span>
                </li>
                <li>
                    <span>优惠券</span>
                    <span>-￥{{savenum}}</span>
                </li>
                <li>
                    <span>运费</span>
                    <span>+￥0.00</span>
                </li>
            </ul>
        </div>
    </div>

    <div ng-if="display_pay==2">
        <!--支付方式-->
        <div class="pay_method">
            <ul>
                <li>支付方式</li>
                <li style="display: none">
                    <img src="myimg/cmoder7.png" alt="">
                    <div>
                        <span class="pay_title">微信支付</span>
                        <span>安全支付</span>
                    </div>
                    <img ng-src="myimg/{{weChat_yd}}" alt="" class="Choice">
                    <!--//遮挡-->
                    <div class="Close_elastic" ng-click="transmiss_pay(1)"></div>
                </li>
                <li>
                    <img src="myimg/cmoder9.png" alt="">
                    <div>
                    <span class="pay_title">
                        我的资产
                        <i>￥{{total_money}}</i>
                    </span>
                        <span>认养资金+认养收益-已消费
                    </span>
                    </div>
                    <img ng-src="myimg/{{overpay}}" alt="" class="Choice">
                    <!--//遮挡-->
                    <div class="Close_elastic" ng-click="transmiss_pay(3)"></div>
                </li>
                <li>
                    <img src="myimg/cmoder8.png" alt="">
                    <div>
                        <span class="pay_title" style="position: relative;left:-41px;color:#000 !important;">
                            新浪支付
                            <i>￥{{balance}}</i>
                        </span>
                        <span style="position: relative;left:-77px;font-size: 12px !important;color:#818181 !important;">存钱罐</span>
                    </div>
                    <img ng-src="myimg/{{sinaPay_yd}}" alt="" class="Choice">
                    <!--//遮挡-->
                    <div class="Close_elastic" ng-click="transmiss_pay(2)"></div>
                </li>
            </ul>
        </div>
    </div>

</ion-content>
<ion-footer-bar align-title="left" class="bar-assertive share_footer" style="border-top:1px solid #DDDDDD !important;height: 43px;">
        <div class="Details_pay" ng-if="display_pay==1">
            <span ng-if="spseiiw==3">共{{order_num}}件，</span>
            <span ng-if="spseiiw==2">共{{push}}件，</span>
            <span>实付款</span>
            <span ng-if="spseiiw==3">￥{{nit}}</span>
            <span ng-if="spseiiw==2">￥{{spnit}}</span>
        </div>
        <div class="ok_Submit" ng-if="display_pay==1">
            <button ng-click="feweclick()">提交订单</button>
        </div>
        <div ng-if="display_pay==2" style="width: 100%;height: 100%;">
            <button style="width: 100%;height: 100%;background: #FF5959;border:none;color:#fff;" ng-click="go_pay_wp()">支付</button>
        </div>
</ion-footer-bar>